package fourthfactory;

public class MarkPersonFactory {
    public Person doPerson(String className) throws Exception {
        Class aClass = Class.forName("fourthfactory.impl." + className);
        Person person = (Person)aClass.newInstance();
        return  person;
    }
}
